import React, { memo } from "react";
import styles from "./sLoading.module.less";
import { jsx as _jsx } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
var Component = function(props) {
    var color = props.color;
    return /*#__PURE__*/ _jsx("div", {
        className: styles.loader,
        children: /*#__PURE__*/ _jsxs("div", {
            className: styles.loaders,
            children: [
                /*#__PURE__*/ _jsx("div", {
                    className: styles.shadow
                }),
                /*#__PURE__*/ _jsx("div", {
                    className: styles.box,
                    style: color ? {
                        background: color
                    } : {}
                })
            ]
        })
    });
};
var Loading = /*#__PURE__*/ memo(Component);
export default Loading;

 //# sourceMappingURL=index.js.map